            <form method="post" action="#" name="form">
                
                <!-- Filter Panel -->
                <div id="filter-panel" class="ui-corner-all ui-widget-content">
                    <span>Filter by status:</span>
                    <label for="filter1">Actived</label>
                    <input type="checkbox" name="filter1" value="" id="filter1" />
                    <label for="filter2">Pending</label>
                    <input type="checkbox" name="filter1" value="" id="filter2" />
                    <label for="filter3">Scheduled</label>
                    <input type="checkbox" name="filter1" value="" id="filter3" />
                    <label for="filter4">UnActived</label>
                    <input type="checkbox" name="filter1" value="" id="filter4" />
                </div>
                <!-- End Filter Panel -->
                
                <!-- Sorting Panel -->
                <div id="sort-panel">
                    <span class="bold">Sort By:</span>
                    <select name="sorting">
                    	<option value="1">Choose a type</option>
                    	<option value="1">Name</option>
                        <option value="2">Status</option>
                    </select>
                </div>
                <!-- End Sorting Panel -->
                
                <div class="clear"></div><!-- Clear floatting -->
                
                <!-- New Page Button -->
                <div style="margin:10px 0px 20px 10px">
                	<a href="<?php echo ADMIN."/photo/add"?>" class="submit button large ui-corner-all">Thêm Hình Ảnh</a>
                </div>
               	<!-- END New Page Button -->
                 
           		<table class="list-table">
            	<thead>
                	<tr>
                		<th>Mã Ảnh</th>
                    	<th>Thư Viện Ảnh</th>
                        <th>Tên Ảnh</th>
                        <th>Hình Ảnh</th>
                        <th>Status</th>
                        <th colspan="4">Page Actions</th>
                    </tr>
                </thead>
                <tbody>
                <?php foreach ($this->allPhoto as $p){?>
                	<tr>
                		<td><?php echo $p->ID?></td>
                     	<td><?php echo $p->NAME?></td>
                        <td><?php echo $p->PHOTO_NAME?></td>
                        <td><img height="100" width="100" src="<?php echo $p->PHOTO_IMG?>"/></td>
                        <?php if($p->STATUS == 1){?>
                        <td><a href="<?php echo $this->url(array("action"=>"active","id"=>$p->ID))?>"><span class="button submit medium green-back fixed-width-100 ui-corner-all">Actived</span></a></td>
                        <?php }else{?>
                        <td><a href="<?php echo $this->url(array("action"=>"active","id"=>$p->ID))?>"><span class="button submit medium green-back fixed-width-100 ui-corner-all">No Actived</span></a></td>
                        <?php }?>
                        <td><a href="<?php echo $this->url(array("action"=>"edit","id"=>$p->ID))?>" class="edit-record">Edit</a></td>
                        <td><a href="<?php echo $this->url(array("action"=>"del","id"=>$p->ID))?>" class=""><img src="<?php echo $this->baseUrl()?>/public/images/icons/delete.png">Delete</a></td>
                    </tr>
                <?php }?>
                </tbody>
                </table>
           	</form>
           	<hr /> <!-- Divider -->
            
            <!-- Pagination -->
           	<?php echo $this->paginationControl($this->allPhoto,"Sliding","pagination.phtml")?>
           <!-- End Pagination -->